package com.zhongwang.mms.module.buy.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;

/**
 * @Description: 项目计划看板明细 model
 *
 * @Author: China.kxx
 * @Date: 2020/04/03 15:57
 */
@Data
public class PlanDetailsModel {

    /**提报计划ID*/
    private Integer rppId;

    /**模态框传值ID*/
    private Integer Id;

    /**拆分后原计划ID*/
    private Integer rppSrcId;

    /**拆分标识，1=原提报计划  2=拆分后计划*/
    private Integer rppOriginalFlag;

    /**排序辅助 列1*/
    private Integer orderNo;

    /**排序辅助 列2*/
    private Integer orderYo;


    /**提报计划对应采购计划Id*/
    private Integer rppSppId;

    /**采购计划ID*/
    private Integer sppId;

    /**提报计划创建时间*/
    @JsonFormat(pattern = "yy-MM-dd", timezone = "GMT+8")
    private Date rppCreateTime;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

    /**提报计划描述*/
    private String rppMatDesc;

    /**提报数量*/
    private Double rppNum;

    /**提报单位*/
    private String rppUnit;

    /**追踪号*/
    private String sppTrackCode;

    /**采购计划物料编码*/
    private String sppMatCode;

    /**采购计划物料编码*/
    private String sppSapCode;

    /**采购计划物料描述*/
    private String sppMatDesc;

    /**采购数量*/
    private Double sppNum;

    /**采购单位*/
    private String sppUnit;

    /**提报计划项目名称*/
    private String rppProjectName;

    /**采购计划项目名称*/
    private String sppProjectName;

    /**提报计划项目编号*/
    private String rppProjectCode;

    /**采购计划项目编号*/
    private String sppProjectCode;

    /**采购进度*/
    private String sppProgress;

    /**采购类型*/
    private Integer prot;

    /**合报标识 合报标识，提示用 1：合报*/
    private Integer sppIntegraFlag;

    /**采购执行状态*/
    private Integer proExe;

    /**导入OA日期*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date spiCreateTime;

    /**勾回货日期*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date rppPreDate;

    /**预入库状态   1是预入库*/
    private Integer sppPreStatus;

    /**SAP入库日期*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date odaBookkeepingDate;

    /**SAP入库状态   1是已回货*/
    private Integer sppRetStatus;

    /**回货类型*/
    private String stockStatus;

    /**回货时间*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date stockTime;

    /**计划员*/
    private String rppPlanner;

    /**提报计划分类ID*/
    private Integer rppTypeId;

    /**提报计划分类名称*/
    private String rppTypes;

    /**库存数量*/
    private String stockNum;

    /**提报计划数量（不包括原材料）*/
    private Integer plannedQuantity;

    /**提报计划未回数量（不包括原材料）*/
    private Integer notBack;

    /**提报计划项目信息   检索条件*/
    private String projectName;

    /**采购信息   检索条件*/
    private String sppMat;

    /**看板系统项目名称*/
    private String name;

    /**看板系统项目数量*/
    private String num;

    /**看板系统项目设计状态*/
    private Integer designTaskStatus;

    /**项目状态   0无状态,1是制作中,2是待制作,3是暂缓,4是完成*/
    private Integer proProductionStatus;

    private Integer rppUseStock;

    /**采购计划变更表物料编码*/
    private String spcMatCode;

    /**变更前物料描述*/
    private String rpcMatDesc;

    /**变更后物料描述*/
    private String rpcNewMatDesc;

    /**变更前物料数量*/
    private Double rpcNum;

    /**变更后物料数量*/
    private Double rpcNewNum;

    /**变更时间*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date rpcChangeTime;

    /**变更原因*/
    private String rpcReason;

    /**变更提报计划ID*/
    private Integer rpcRppId;

    /**变更采购计划ID*/
    private Integer spcSppId;

    /**出库采购物料ID*/
    private Integer deliveryRecordId;

    /**指定记录ID*/
    private Integer appointId;

    /**计划量*/
    private String materialNum;

    /**指定状态 1=指定*/
    private String rppIsFlag;

    private String rppDiyAssignUseStockUnit;

    private String rppAutoAssignUseStockUnit;

    private Double rppDiyAssignUseStockNum;

    private Double rppAutoAssignUseStockNum;

    private Double rppAssignUseStockPrice;

    private String rppAssignDesc;
    /**是否回货 1=回货，0=未回货*/
    private Integer isReturn;
    /**
     * 提报人
     */
    private String rppDesigner;
    /**
     * 库位
     */
    private String whiName;
    /**
     * 外购件库存数量
     */
    private Integer stockNumW;
    /**
     * 外购件库位
     */
    private String whiNameSum;
    /**
     * 外购件库位数量
     */
    private Integer whiNameNum;
}
